Skip to content

Commit

Permalink
[US-3766] docker-compose.yml: requiring images in specific version
Browse files Browse the repository at this point in the history
- as a rule, using minor versions (eg. 1.2 or 1.2-alpine)
- using phpdockerio/php72-fpm:latest because there is no other tag available, this image will be replaced
- using erikdubbelboer/phpredisadmin:v1.10.2 because there is no tag for minor version
- using namshi/smtp:latest because there is no other tag available, we will keep it as there is no other reliable image for smtp
  - see namshi/docker-smtp#42
  • Loading branch information
Matous Czerner committed May 2, 2018
1 parent 8325f98 commit cb46bad
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 24 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- all installation guides verified and tweaked (@TomasLudvik)
- Docker installation supported on Linux, MacOS and Windows 10 Pro and higher (recommended way of installing the application)
- native installation is also supported (recommended on Windows 10 Home and lower)
- as a rule, using minor versions of docker images (eg. `1.2` or `1.2-alpine`) if possible (@MattCzerner)

## 7.0.0-alpha1 - 2018-04-12
### Added
Expand Down
12 changes: 6 additions & 6 deletions docker/conf/docker-compose-mac.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- POSTGRES_DB=shopsys

webserver:
image: nginx:1-alpine
image: nginx:1.13-alpine
container_name: shopsys-framework-webserver
working_dir: /var/www/shopsys-framework
volumes:
Expand Down Expand Up @@ -40,11 +40,11 @@ services:
- redis

redis:
image: redis:4-alpine
image: redis:4.0-alpine
container_name: shopsys-framework-redis

redis-admin:
image: erikdubbelboer/phpredisadmin:latest
image: erikdubbelboer/phpredisadmin:v1.10.2
container_name: shopsys-framework-redis-admin
environment:
- REDIS_1_HOST=redis
Expand All @@ -56,7 +56,7 @@ services:
- "1600:80"

selenium-server:
image: selenium/standalone-chrome
image: selenium/standalone-chrome:3.11
container_name: shopsys-framework-acceptance-tests
ports:
- "4400:4444"
Expand All @@ -67,7 +67,7 @@ services:
- webserver

adminer:
image: adminer:latest
image: adminer:4.6
container_name: shopsys-framework-adminer
ports:
- "1100:8080"
Expand All @@ -77,7 +77,7 @@ services:
- postgres

smtp-server:
image: namshi/smtp
image: namshi/smtp:latest
container_name: shopsys-framework-smtp-server

volumes:
Expand Down
12 changes: 6 additions & 6 deletions docker/conf/docker-compose.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- POSTGRES_DB=shopsys

webserver:
image: nginx:1-alpine
image: nginx:1.13-alpine
container_name: shopsys-framework-webserver
working_dir: /var/www/shopsys-framework
volumes:
Expand Down Expand Up @@ -40,11 +40,11 @@ services:
- redis

redis:
image: redis:4-alpine
image: redis:4.0-alpine
container_name: shopsys-framework-redis

redis-admin:
image: erikdubbelboer/phpredisadmin:latest
image: erikdubbelboer/phpredisadmin:v1.10.2
container_name: shopsys-framework-redis-admin
environment:
- REDIS_1_HOST=redis
Expand All @@ -56,7 +56,7 @@ services:
- "1600:80"

selenium-server:
image: selenium/standalone-chrome
image: selenium/standalone-chrome:3.11
container_name: shopsys-framework-acceptance-tests
ports:
- "4400:4444"
Expand All @@ -67,7 +67,7 @@ services:
- webserver

adminer:
image: adminer:latest
image: adminer:4.6
container_name: shopsys-framework-adminer
ports:
- "1100:8080"
Expand All @@ -77,5 +77,5 @@ services:
- postgres

smtp-server:
image: namshi/smtp
image: namshi/smtp:latest
container_name: shopsys-framework-smtp-server
1 change: 1 addition & 0 deletions project-base/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- moved from `\Shopsys\Environment` to `\Shopsys\FrameworkBundle\Component\Environment\EnvironmentType`
- Dependency Injection strict mode is now enabled (@EdoBarnas)
- disables autowiring features that were removed in Symfony 4
- as a rule, using minor versions of docker images (eg. `1.2` or `1.2-alpine`) if possible (@MattCzerner)

### Removed
- support of installation using Docker for Windows 10 Home and lower (@TomasLudvik)
Expand Down
13 changes: 7 additions & 6 deletions project-base/docker/conf/docker-compose-mac.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- POSTGRES_DB=shopsys

webserver:
image: nginx:1-alpine
image: nginx:1.13-alpine
container_name: shopsys-framework-webserver
working_dir: /var/www/shopsys-framework
volumes:
Expand Down Expand Up @@ -40,11 +40,11 @@ services:
- redis

redis:
image: redis:4-alpine
image: redis:4.0-alpine
container_name: shopsys-framework-redis

redis-admin:
image: erikdubbelboer/phpredisadmin:latest
image: erikdubbelboer/phpredisadmin:v1.10.2
container_name: shopsys-framework-redis-admin
environment:
- REDIS_1_HOST=redis
Expand All @@ -56,7 +56,7 @@ services:
- "1600:80"

selenium-server:
image: selenium/standalone-chrome
image: selenium/standalone-chrome:3.11
container_name: shopsys-framework-acceptance-tests
ports:
- "4400:4444"
Expand All @@ -67,7 +67,7 @@ services:
- webserver

adminer:
image: adminer:latest
image: adminer:4.6
container_name: shopsys-framework-adminer
ports:
- "1100:8080"
Expand All @@ -77,11 +77,12 @@ services:
- postgres

smtp-server:
image: namshi/smtp
image: namshi/smtp:latest
container_name: shopsys-framework-smtp-server

volumes:
shopsys-framework-sync:
external: true

shopsys-framework-postgres-data-sync:
external: true
12 changes: 6 additions & 6 deletions project-base/docker/conf/docker-compose.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- POSTGRES_DB=shopsys

webserver:
image: nginx:1-alpine
image: nginx:1.13-alpine
container_name: shopsys-framework-webserver
working_dir: /var/www/shopsys-framework
volumes:
Expand Down Expand Up @@ -40,11 +40,11 @@ services:
- redis

redis:
image: redis:4-alpine
image: redis:4.0-alpine
container_name: shopsys-framework-redis

redis-admin:
image: erikdubbelboer/phpredisadmin:latest
image: erikdubbelboer/phpredisadmin:v1.10.2
container_name: shopsys-framework-redis-admin
environment:
- REDIS_1_HOST=redis
Expand All @@ -56,7 +56,7 @@ services:
- "1600:80"

selenium-server:
image: selenium/standalone-chrome
image: selenium/standalone-chrome:3.11
container_name: shopsys-framework-acceptance-tests
ports:
- "4400:4444"
Expand All @@ -67,7 +67,7 @@ services:
- webserver

adminer:
image: adminer:latest
image: adminer:4.6
container_name: shopsys-framework-adminer
ports:
- "1100:8080"
Expand All @@ -77,5 +77,5 @@ services:
- postgres

smtp-server:
image: namshi/smtp
image: namshi/smtp:latest
container_name: shopsys-framework-smtp-server

0 comments on commit cb46bad

Please sign in to comment.