Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- ssh
- plugin
- resource
- GIT
- 네트워크
- 단축키
- xargs
- Windows
- find
- vscode
- port
- netsh
- Mac
- VirtualBox
- IntelliJ
- web.xml
- context
- import
- lsof
- grep
- Source
- Windows 10
- JavaScript
- bash
- Eclipse
- Quartz
- 줄바꿈 문자
- maVen
- profile
- tomcat
Archives
- Today
- Total
develog
[docker] docker-compose 본문
docker-compose.yml
version: '2' services: mysqldb: image: mysql:5.7 restart: always environment: MYSQL_ROOT_PASSWORD: 1234 MYSQL_DATABASE: wordpress wordpress: image: wordpress ports: - "8080:80" restart: always environment: WORDPRESS_DB_HOST: mysqldb:3306 WORDPRESS_DB_PASSWORD: 1234 |
실행
docker-compose up |
'Dev > docker' 카테고리의 다른 글
[docker] Dockerfile 명령어 (0) | 2022.02.07 |
---|---|
[docker] ubuntu 실행 (0) | 2022.02.05 |
docker timezone 설정 (0) | 2020.08.06 |
[docker] CentOS, Ubuntu 에 docker engine 설치하기 (0) | 2020.08.06 |
[docker] mysql + wordpress (0) | 2020.01.17 |
Comments